package Teacher_Test.JDBC_test.controller;

import Teacher_Test.JDBC_test.service.UserService;
import Teacher_Test.JDBC_test.service.impl.UserServiceImpl;

public class UserController {
    public boolean deleteById(int id){
        UserService userService= new UserServiceImpl();

        boolean bl= userService.deleteById(id);

        if(bl){
            return true;
        }
        else {
            return false;
        }
    }
}
